/*
	File:		Message.h
	Course:		SGD 1212
	Author:		dmonroe
	Purpose:	CMessage base class defines
				the type of messages
*/

#pragma once

#include "../SGD_Wrappers/IMessage.h"


// Enumeration of message types
enum MsgType	{ Msg_LightPrimBullet, Msg_CreateFirePrimBullet, Msg_CreateEnemy, 
	Msg_CreateBullet, Msg_DestroyEntity, Msg_DestroyTarget, Msg_Game_Over, Msg_DestroyEnemy,Msg_Electricity };


////////////////////////////////////////////////////
// CMessage class
//	- stores the message ID
//	- constructor REQUIRES the type to be one of the enumerators
class CMessage : public IMessage
{
public:

	CMessage( MsgType type )				{	m_nMessageID = type;	}
	virtual ~CMessage( void )				{	/* do nothing */		}
	
	// IMessage Interface:
	virtual MSGID	GetMessageID( void )	{	return m_nMessageID;	}

private:
	MSGID	m_nMessageID;
};

